package com.pen.interfece.service;


import com.pen.interfece.pojo.PageResult;
import com.pen.interfece.pojo.dto.AdminLoginDTO;
import com.pen.interfece.pojo.dto.AdminPageQueryDTO;
import com.pen.interfece.pojo.entity.Admin;

import java.util.List;

public interface AdminService {
    Admin login(AdminLoginDTO adminLoginDTO);

    void save(Admin admin);

    void deleteBatch(List<Long> ids);

    void update(Admin admin);

    PageResult pageQuery(AdminPageQueryDTO adminPageQuerydto);
}
